﻿using System;
using Example.Common.Views;
using Ninject.Core;
using Example.Common.Services;
using Example.Presentation.Presenters;

namespace Example.Common.Presenters
{
    public class HelloWorldPresenter : PresenterBase<IHelloWorldView>
    {
        [Inject]
        public HelloWorldService Service { get; set; }

        public override void Load()
        {
            View.HelloWorldText = Service.GetText();
        }

        public override void Dispose()
        {

        }
    }
}
